package com.main.usermanagement.application.service;

import com.fasterxml.jackson.core.JsonProcessingException;
import com.main.common.base.resp.RespBody;
import com.main.usermanagement.domain.user.aggregate.User;
import com.main.usermanagement.interfaces.dto.RegisterDTO;
import com.main.usermanagement.interfaces.dto.UserDTO;

import java.rmi.registry.Registry;
import java.util.List;

public interface RegisterService {
    /**
     * 注册用户
     */
    RespBody<User> register(RegisterDTO registerDTO) throws JsonProcessingException;
}
